<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<%@ include file="/include/head-master.jsp"%>
<link rel="stylesheet" type="text/css" href="css/seat-map.css">

<script src="js/seat-map.js" type="text/javascript"></script>
<script src="js/seat-map-page.js" type="text/javascript"></script>
<script type="text/javascript" src="js/dashboard.js"></script>
<title>Dashboard</title>
</head>
<body>
	<div class="container">
		<div class="col-md-12">
			<%@ include file="/include/header.jsp"%></div>
		<div class="row">
			<div class="col-md-12" id="dashboard">
				<c:choose>
					<c:when test="${role=='ADMIN'}">
						<%-- 						<%@ include file="/include/dummy-requests.jsp"%>  --%>
						<%@ include file="/include/corpserv-report-view.jsp"%>
					</c:when>
					<c:when test="${role=='MANAGER' }">
						<div class="col-md-12">
							<div class="well">
								<%@ include file="/include/pm-report-view.jsp"%>
							</div>
						</div>
					</c:when>
					<c:otherwise>
						<%@ include file="/include/seat-map-view.jsp"%>
					</c:otherwise>
				</c:choose>
			</div>
		</div>
		<%@ include file="/include/footer.jsp"%>
	</div>
</body>
<c:forEach items="${employeeSeats }" var="empSeat">
	<div class="employee-seat">
		<input type="hidden" value="${empSeat.seat.col}-${empSeat.seat.row}"
			class="coordinate" /> <input type="hidden"
			value="${empSeat.employee.firstName }" class="first-name" /> <input
			type="hidden" value="${empSeat.employee.lastName }" class="last-name" />
		<input type="hidden" value="${empSeat.seat.seatCode }"
			class="seat-code" /> <input type="hidden"
			value="${empSeat.seat.localNo }" class="local-no" /> <input
			type="hidden" value="${empSeat.seat.project.projectCode }"
			class="project-code" />
	</div>
</c:forEach>
</html>

